package com.wanxi.util;

public class DoWhile {
    public static void main(String[] args) {
        int i = 0;
        int sum = 0;
        while (i < 0) {
            sum += i;
            i++;
        }
        System.out.println(sum);


        int j = 0;
        int jsum = 0;
        do {
            jsum += j;
            j++;
        } while (j<0);
        System.out.println(jsum);
    }
}
